1 setup

Run this daily to get a snapshot of tag stats and health

2 notes

2.1 PATH TO LATEST DATA

# paths to update when you run
portaldir <- "portal_downloads"
datadirss <- list.files(portaldir)
datadir <- file.path(portaldir, datadirss[length(datadirss)])

2.2 basic helper function

2.3 load paths adjust as needed

2.4 Import data from wildlife portal and the goniometer. Merge the two stacks.

3 tag summary

ptt hex serial tag_model deployid catalog_ID_DUML BRS_season deploydate_yyyymmdd deploytime_hhmm species location tagger permit tagtype longitude latitude tagside taglocation taglocationnotes programming_basic_descriptor notes recorder age sex agesex_conf headshot agesex_reason appearance_notes
4 220740 2C2704C NA SPLASH10-333 ZcTag136_DUML NA brs10 20230725 1321 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
5 220736 2C27000 NA SPLASH10-333 ZcTag137_DUML NA brs10 20230725 1449 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a f high y mother calf NA
6 220743 2C27079 NA SPLASH10-333 ZcTag138_DUML NA brs10 20230725 1924 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
1 220745 2C27098 NA SPLASH10-333 ZcTag139_DUML NA brs10 20230726 1638 Zca Hat dlw NA NA NA NA R NA NA NA NA NA u u y NA
2 233112 406B18B NA SPLASH10-333 ZcTag140_DUML NA brs10 20230726 1958 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
3 233115 406B1BE NA SPLASH10-333 ZcTag141_DUML NA brs10 20230726 2027 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
9 233118 406B1E1 NA SPLASH10-333 ZcTag142_DUML NA brs10 20230807 1340 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
8 233110 406B16A NA SPLASH10-F-333 ZcTag143_DUML NA brs10 20230807 1558 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
7 233111 406B179 NA SPLASH10-F-333 ZcTag144_DUML NA brs10 20230807 1620 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
10 233108 406B14C NA SPLASH10-F-333 ZcTag145_DUML NA brs10 20230821 1901 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
11 233107 406B135 NA SPLASH10-F-333 ZcTag146_DUML NA brs10 20230821 1914 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA

4 calculate stats

## Warning in min(x): no non-missing arguments to min; returning Inf
## Warning in max(x): no non-missing arguments to max; returning -Inf

5 summaries

5.1 status and corrupt

deployid ptt nmsg ncrc transmits battvoltrange zerodepthrange last_sta_recieved ncorrupt
2 ZcTag136_DUML 220740 96 95 14344 3.248 to 3.568 -13 to 5 2023-09-03 02:38:32 265
1 ZcTag137_DUML 220736 29 26 9451 3.376 to 3.504 1 to 3 2023-09-02 01:02:22 314
3 ZcTag138_DUML 220743 10 6 871 3.568 to 3.568 2 to 3 2023-08-07 14:30:41 334
4 ZcTag139_DUML 220745 12 12 7471 3.504 to 3.568 -37 to 1 2023-08-22 15:18:42 158
9 ZcTag140_DUML 233112 7 7 1188 3.44 to 3.504 1 to 3 2023-08-02 11:16:31 81
10 ZcTag141_DUML 233115 16 15 1702 3.504 to 3.504 1 to 3 2023-07-30 14:31:55 52
11 ZcTag142_DUML 233118 40 38 7938 3.44 to 3.504 3 to 6 2023-09-02 00:38:38 144
7 ZcTag143_DUML 233110 9 9 8272 3.44 to 3.504 -6 to 3 2023-09-03 01:05:24 268
8 ZcTag144_DUML 233111 2 1 NA Inf to -Inf 3 to 3 2023-08-30 08:51:59 378
6 ZcTag145_DUML 233108 1 0 0 116
5 ZcTag146_DUML 233107 15 14 3831 3.504 to 3.504 1 to 3 2023-09-03 01:06:39 99

5.2 locations

deployid ptt nloc nz na nb n0 n1 n2 n3 last_loc_recieved
2 ZcTag136_DUML 220740 662 1 44 152 287 133 36 9 2023-09-03 09:34:19
1 ZcTag137_DUML 220736 513 1 79 182 162 67 19 3 2023-09-03 11:08:06
3 ZcTag138_DUML 220743 213 0 37 114 29 24 6 3 2023-08-12 16:06:58
4 ZcTag139_DUML 220745 206 1 24 143 28 6 2 2 2023-08-23 03:13:58
9 ZcTag140_DUML 233112 71 1 13 31 19 4 3 0 2023-08-02 11:15:31
10 ZcTag141_DUML 233115 63 1 10 20 24 7 1 0 2023-07-30 17:41:17
11 ZcTag142_DUML 233118 367 0 51 74 166 57 17 2 2023-09-03 09:59:18
7 ZcTag143_DUML 233110 309 1 47 126 105 23 7 0 2023-09-03 09:35:05
8 ZcTag144_DUML 233111 278 0 48 161 55 11 2 1 2023-09-03 10:05:15
6 ZcTag145_DUML 233108 67 0 8 35 20 2 2 0 2023-08-27 00:54:50
5 ZcTag146_DUML 233107 182 0 23 58 79 19 1 2 2023-09-03 09:37:16

5.3 behavior

deployid ptt n_beh_msgs totalbeh_time_hours nbehgaps behgap_time_hours latest_beh_recieved
2 ZcTag136_DUML 220740 0 0 0 0
1 ZcTag137_DUML 220736 0 0 0 0
3 ZcTag138_DUML 220743 0 0 0 0
4 ZcTag139_DUML 220745 0 0 0 0
9 ZcTag140_DUML 233112 0 0 0 0
10 ZcTag141_DUML 233115 0 0 0 0
11 ZcTag142_DUML 233118 0 0 0 0
7 ZcTag143_DUML 233110 0 0 0 0
8 ZcTag144_DUML 233111 0 0 0 0
6 ZcTag145_DUML 233108 0 0 0 0
5 ZcTag146_DUML 233107 0 0 0 0

5.4 series

this doesn’t count the messages quite right for some reason, but you get the idea. you can scroll down below and see the plot of messages receieved.

deployid ptt n_ser_msgs totalser_time_hours nsergaps sergap_time_hours nsermsggaps latest_ser_recieved
2 ZcTag136_DUML 220740 129 516 0 0 0 2023-08-16
1 ZcTag137_DUML 220736 128 512 1 4 1 2023-08-16
3 ZcTag138_DUML 220743 37 148 18 120 30 2023-08-05 20:00:00
4 ZcTag139_DUML 220745 49 192 19 328 82 2023-08-17
9 ZcTag140_DUML 233112 19 76 6 40 10 2023-07-31 16:00:00
10 ZcTag141_DUML 233115 16 64 3 28 7 2023-07-30 16:00:00
11 ZcTag142_DUML 233118 122 488 5 24 6 2023-08-28 20:00:00
7 ZcTag143_DUML 233110 60 240 11 76 19 2023-08-20 20:00:00
8 ZcTag144_DUML 233111 29 116 14 184 46 2023-08-20 08:00:00
6 ZcTag145_DUML 233108 4 16 1 8 2 2023-08-22 16:00:00
5 ZcTag146_DUML 233107 49 196 5 52 13 2023-09-01

5.5 fastloc

deployid ptt fastloc_received fastloc_locnum fastloc_failures fastloc_latest
ZcTag137_DUML 220736 0 0 0 0
ZcTag136_DUML 220740 0 0 0 0
ZcTag138_DUML 220743 0 0 0 0
ZcTag139_DUML 220745 0 0 0 0
ZcTag146_DUML 233107 31 39 97 02-Sep-2023 09:01:00
ZcTag145_DUML 233108 3 2 13 22-Aug-2023 16:42:02
ZcTag143_DUML 233110 61 338 414 26-Aug-2023 21:33:15
ZcTag144_DUML 233111 34 52 193 25-Aug-2023 22:02:20
ZcTag140_DUML 233112 0 0 0 0
ZcTag141_DUML 233115 0 0 0 0
ZcTag142_DUML 233118 0 0 0 0

6 position snapshot

Plot of the last four positions for all the tags which have generated an argos position within the last 3 days

7 plot pressure sensors

PROVISIONAL plot status cutoffs and bat voltage. Cutoffs are in dotted red lines. These are either:

  1. healthy tags: the last status messages as a conservative cutoff and on tags that are still actively transmitting this is likely to increase
  2. unhealthy pressure transducer tags: if there are 2 status messages (crc’d) where the | zerodepth | > 10 then this is the last good status message before the 1st of those two bad messages.

We have settled on a more complicated cutoff system to capture a little more very likely good data. For detail please see DATAPREP_sattag_processing. But this gives you a general idea of approx. cutoffs and pressure transducer health.

8 control cee

8.1 +/- 12 hour look at ship based cee 23_01 on 20220804

gonio hits in purple

9 series message source plots

10 corrupt by cohort

11 zoom in on megadives from 136 while offshore

note the time frames highlighted on the map are approximately the same just had a different number of uplinks and precision at those times.